package org.swingDemo;

import org.swingDemo.UI.MainFrame;

import javax.swing.*;

public class Main {
    public static void main( String[] args ) {
        try {
            MainFrame mainFrame = new MainFrame();
            mainFrame.setLocationRelativeTo(null);
            mainFrame.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
            mainFrame.pack();
            mainFrame.setVisible(true);
        } catch (Exception ex) {
            ex.printStackTrace();
        }
    }
}
